using System;
using System.Collections.Generic;
using System.Text;

using System.Windows.Media;
using WozLib.UI.Ink.SketchObjects;

namespace WozLib.UI.Ink.SketchProperties
{
  public class ColorCascadingProperty : CascadingProperty
  {

    public ColorSketchProperty ColorWozProperty
    {
      get { return WozProperty as ColorSketchProperty; }
      set { WozProperty = value; }
    }


    public ColorCascadingProperty(List<ISketchObject> iWozObjects, ColorSketchProperty colorWozProperty)
      : base(iWozObjects, colorWozProperty)
    {
      if (WozPropertyVariants.Count > 1)
      {
        this.ColorWozProperty.Data = Colors.WhiteSmoke;
      }
    }
  }
}
